package model;

/**
 * TCarTemp entity. @author MyEclipse Persistence Tools
 */

public class TCarTemp implements java.io.Serializable {

	// Fields

	private Integer id;
	private String time;
	private Double temp;
	private Integer carid;

	// Constructors

	/** default constructor */
	public TCarTemp() {
	}

	/** minimal constructor */
	public TCarTemp(Double temp, Integer carid) {
		this.temp = temp;
		this.carid = carid;
	}

	/** full constructor */
	public TCarTemp(String time, Double temp, Integer carid) {
		this.time = time;
		this.temp = temp;
		this.carid = carid;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTime() {
		return this.time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public Double getTemp() {
		return this.temp;
	}

	public void setTemp(Double temp) {
		this.temp = temp;
	}

	public Integer getCarid() {
		return this.carid;
	}

	public void setCarid(Integer carid) {
		this.carid = carid;
	}

}